package com.onlyxiahui.extend.query.hibernate.syntax.annotation;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import com.onlyxiahui.extend.query.hibernate.syntax.annotation.type.BindType;

/**
 * Description <br>
 * Date 2020-06-03 09:08:58<br>
 * 
 * @author XiaHui [onlovexiahui@qq.com]<br>
 * @since 1.0.0
 */

@Documented
@Retention(RUNTIME)
@Target({ TYPE })
@Repeatable(BracketGroups.class)
public @interface BracketGroup {
	/**
	 * 
	 * 括号分组<br>
	 * Date 2020-06-03 09:11:57<br>
	 * 
	 * @return
	 * @since 1.0.0
	 */
	String group() default "default";

	/**
	 * 
	 * 联合关键字<br>
	 * Date 2020-06-03 10:00:59<br>
	 * 
	 * @return
	 * @since 1.0.0
	 */
	BindType bind() default BindType.or;
}
